import java.io.Serializable;

/**
 * This class is Sub
 */
public class Sub  implements Serializable {
	/**
	 * Sub variables
	 */
	private String courseID;
	private String studentID;
	private Integer assNum;
	private Integer grade;
	private String comment;
	private String date;
	private String semID;
	private String teacherID;
	private MyFile subFile;
	private MyFile checkFile;

	/**
	 * @param courseID
	 * @param studentID
	 * @param assNum
	 * @param grade
	 * @param comment
	 * @param date
	 * @param semID
	 * @param teacherID
	 * @param subFile
	 */
	public Sub(String courseID, String studentID, Integer assNum,
			Integer grade, String comment, String date,
			String semID, String teacherID, MyFile subFile) {
		super();
		this.courseID = courseID;
		this.studentID = studentID;
		this.assNum = assNum;
		this.grade = grade;
		this.comment = comment;
		this.date = date;
		this.semID = semID;
		this.teacherID = teacherID;
		this.subFile = subFile;
	}
	/**
	 * @param courseID
	 * @param studentID
	 * @param assNum
	 * @param date
	 * @param semID
	 * @param teacherID
	 * @param subFile
	 */
	public Sub(String courseID, String studentID, Integer assNum, String date,
			 String semID, String teacherID, MyFile subFile) {
		super();
		this.courseID = courseID;
		this.studentID = studentID;
		this.assNum = assNum;
		this.date = date;
		this.semID = semID;
		this.teacherID = teacherID;
		this.subFile = subFile;
	}
	/**
	 * @param courseID
	 * @param studentID
	 * @param assNum
	 * @param date
	 * @param teacherID
	 * @param subFile
	 */
	public Sub(String courseID, String studentID, Integer assNum, String date, String teacherID, MyFile subFile) {
		super();
		this.courseID = courseID;
		this.studentID = studentID;
		this.assNum = assNum;
		this.date = date;
		this.teacherID = teacherID;
		this.subFile = subFile;
	}
	/**
	 * @return the myFile
	 */
	public MyFile getCheckFile() {
		return checkFile;
	}
	/**
	 * @param myFile the myFile to set
	 */
	public void setCheckFile(MyFile checkFile) {
		this.checkFile = checkFile;
	}
	/**
	 * @return the myFile
	 */
	public MyFile getSubFile() {
		return subFile;
	}
	/**
	 * @param myFile the myFile to set
	 */
	public void setSubFile(MyFile subFile) {
		this.subFile = subFile;
	}
	/**
	 * @param courseID
	 * @param assNum
	 * @param teacherID
	 */
	public Sub(String courseID, Integer assNum, String teacherID) {
		super();
		this.courseID = courseID;
		this.assNum = assNum;
		this.teacherID = teacherID;
	}
	/**
	 * @return the courseID
	 */
	public String getCourseID() {
		return courseID;
	}
	/**
	 * @param courseID the courseID to set
	 */
	public void setCourseID(String courseID) {
		this.courseID = courseID;
	}
	/**
	 * @return the studentID
	 */
	public String getStudentID() {
		return studentID;
	}
	/**
	 * @param studentID the studentID to set
	 */
	public void setStudentID(String studentID) {
		this.studentID = studentID;
	}
	/**
	 * @return the assNum
	 */
	public Integer getAssNum() {
		return assNum;
	}
	/**
	 * @param assNum the assNum to set
	 */
	public void setAssNum(Integer assNum) {
		this.assNum = assNum;
	}
	/**
	 * @return the grade
	 */
	public Integer getGrade() {
		return grade;
	}
	/**
	 * @param grade the grade to set
	 */
	public void setGrade(Integer grade) {
		this.grade = grade;
	}
	/**
	 * @return the comment
	 */
	public String getComment() {
		return comment;
	}
	/**
	 * @param comment the comment to set
	 */
	public void setComment(String comment) {
		this.comment = comment;
	}
	/**
	 * @return the date
	 */
	public String getDate() {
		return date;
	}
	/**
	 * @param date the date to set
	 */
	public void setDate(String date) {
		this.date = date;
	}
	/**
	 * @return the semID
	 */
	public String getSemID() {
		return semID;
	}
	/**
	 * @param semID the semID to set
	 */
	public void setSemID(String semID) {
		this.semID = semID;
	}
	/**
	 * @return the teacherID
	 */
	public String getTeacherID() {
		return teacherID;
	}
	/**
	 * @param teacherID the teacherID to set
	 */
	public void setTeacherID(String teacherID) {
		this.teacherID = teacherID;
	}
}
